<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" media="screen, projection" href="scripts/demo.css" />
<script type="text/javascript" src="scripts/jquery-1.4.1.js"></script>
<script type="text/javascript" src="scripts/validation.js"></script>

<%String info = (String)request.getAttribute("info");%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Weather Information</title>
</head>
<body>
<form action="Weather" method="post">
	<table id="container">
	<tr>
		<td>City: </td><td><input type="text" name="city"/></td>
	</tr>
	<tr>
		<td></td><td><input type="submit" value="Submit"> <input type="reset" value="Reset"></td>
	</tr>
	</table>  
	</form>
	<%if(info != null && !info.equals("No")){%>
	<%=info%>
	<br><i align="center">Ce service vous est fourni en partenariat avec <a href="http://www.webservicex.net/globalweather.asmx?op=GetWeather">Global wheather</a></i>
		<%}else if(info != null && info.equals("No")){ %>
		<b>Sorry,no information available</b>
		<%} %>


</body>
</html>